package com.hn.naixue;

/**
 * @Author: Qingwr
 * @Date: 2022/8/11 21:32
 * @Description 测试类
 */
public class Client {

    public static void main(String[] args) throws Exception {
//        Demo.mkdirs("/test/tsts/st/st/st");
//        Demo.rmdir("/test");
//        Demo.listFiles();
//        Demo.uploadFile("C:/Users/DELL/Desktop/temp.txt", "/hdfsApi2");
//        Demo.downloadFile2("/hdfsApi2","C:/Users/DELL/Desktop/temp3.txt");
//        Demo.mergeUploadFile("D://input", "/marge.txt");

        System.out.println(Demo.isFile("/hdfsApi2"));
        System.out.println(Demo.isDir("/hdfsApi2"));
    }


}
